package NGUYENDUCVIETPRACTICELV2;

public class TAMGIAC_Controller {
	private TAMGIAC m_obj;
	private TAMGIAC_Model m_objModel;
	
	public TAMGIAC_Controller(TAMGIAC obj){
		m_obj = obj;
		m_objModel = new TAMGIAC_Model();
	}
	
	public double PerA(int Opt){
		if(Opt == 1)
			return m_objModel.Chuvi(m_obj);
		else
			return m_objModel.Dientich(m_obj);
		
		
	}
}
